class Car:
    def __init__(self,brand,name,color):
        self.brand = brand
        self.name = name
        self.color = color

    def run(self):
        print(f"run {self.name}")
    def __str__(self):
        return f"汽车品牌 {self.name}"

car = Car("丰田","卡罗拉",color="blue")
car.run()
print(car)